from scrapy import cmdline
args = "{}".split()
cmdline.execute(args)